//
//  UIButton+Addition.m
//  SwiftHealing
//
//  Created by zhouzhenjie on 16/8/19.
//  Copyright © 2016年 ios0610. All rights reserved.
//

#import "UIButton+Addition.h"

@implementation UIButton (Addition)

+ (instancetype)buttonWithTitlt:(NSString *)title titleColor:(UIColor *)titleColor backgroundColor:(UIColor *)backgroundColor backgrondImage:(UIImage *)backgrondImage {
    UIButton *btn = [[self alloc] init];
    [btn setTitle:title forState:UIControlStateNormal];
    [btn setTintColor:titleColor];
    [btn setBackgroundColor:backgroundColor];
    [btn setBackgroundImage:backgrondImage forState:UIControlStateNormal];
    return btn;
}

@end
